package com.vcredit.creditcat.manager.auth;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;

import com.alibaba.dubbo.config.annotation.Service;
import com.vcredit.creditcat.dto.auth.IAuthItemExtManager;
import com.vcredit.creditcat.dto.speedloan.SpeedloanAuthItemDto;
import com.vcredit.creditcat.model.Cust;
import com.vcredit.creditcat.service.auth.AuthItemExtService;

@Service(protocol = { "protocol1" }, version = "1.0")
public class AuthItemExtManager implements IAuthItemExtManager{

	@Autowired
	private AuthItemExtService authItemExtService;
	
	public List<SpeedloanAuthItemDto> getSpeedloanAuthItemsByCustAndProduct(Cust cust, Long productId) throws Exception {
		return authItemExtService.getSpeedloanAuthItemsByCustAndProduct(cust, productId);
	}
}
